//
//  TableViewCell.swift
//  Matting
//  Created by JoyWT on 2022/3/4
//  
    

import UIKit
import TableKit
class TableViewCell: UITableViewCell, ConfigurableCell {

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    static var defaultHeight: CGFloat? {
        return 44.0
    }
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.selectionStyle = .none
        self.accessoryType = .disclosureIndicator
        self.initSubViews()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        self.selectionStyle = .none
        self.accessoryType = .disclosureIndicator
        self.initSubViews()
    }

    init() {
        super.init(style: .default, reuseIdentifier: "VehicleTableViewCell")
    }
    func initSubViews() {
        
    }
    func configure(with model: trysModel) {
        textLabel?.text = model.title
    }

}
